package cn.haohaowo;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import cn.haohaowo.service.SomeHService;

@RestController
@RequestMapping("/ui")
public class UIApplication {

	@Autowired
	private SomeHService someHService;
	
	@RequestMapping("/getsome.do")
	@ResponseBody
	public String getSome() {
		return someHService.getSome();
	}
	
}
